<template lang="html">
  <div class="cycling" >
    <div class="cycling-c" v-show='falg'>
      <HomeNav />
      <div class="c-container">
        <PublicPage pTitle='健走'/>
      </div>
    </div>
    <div class="cykling-y">
      <router-view/>
    </div>

  </div>
</template>

<script>
import HomeNav from '../../../components/HomeNav';
import CourseHttp from '../../../components/CourseHttp';
import PublicPage from '../../../components/PublicPage'
export default {
  data(){
    return{
      falg:true
    }
  },
  mounted(){
    var url = this.$route.path
    console.log(url)
    url.search(/maps/g)
    if(url){
      !this.falg
    }
  },
  components: {
    HomeNav,
    CourseHttp,
    PublicPage
  }
}

</script>

<style lang="less">
.cycling{
  .c-container{
    margin-top: 90/100rem;
  }
}
</style>
